package com.ke.dao;

import com.ke.pojo.ArticleOrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ArticleOrderRepository extends JpaRepository<ArticleOrder,Integer> {

    List<ArticleOrder> findByOrderNum(String orderId);

    List<ArticleOrder> findByUserId(Integer id);

}
